PDF4Java Reference Documentation
com.o2sol.pdf4java.forms Package / PDFFieldWidget Class / setRotation Method
The widget rotation angle in degrees.
In This Topic
    setRotation Method
    In This Topic
    Sets the widget rotation angle.
    The accepted values for this property are 0, 90, 180 and 270 degrees.
    Syntax
    public void setRotation( 
       int rotation
    )

    Parameters

    rotation
    The widget rotation angle in degrees.
    Exceptions
    ExceptionDescription
    Thrown when the value being set is not one of the accepted values.
    See Also